This is my improved again improved button code.